<div class="main-container container-fluid">
        <!-- Page Container -->
        <div class="page-container">
            <!-- Page Sidebar -->
            <div class="page-sidebar" id="sidebar">
                <!-- Page Sidebar Header-->
                <!-- /Page Sidebar Header -->
                <!-- Sidebar Menu -->
                <ul class="nav sidebar-menu">
                    <!--Dashboard-->
                    <!--Tables-->
                    <?php $power = $_SESSION['power'];?>
                    <?php foreach ($menuList as $key => $menu):?>
                        <?php if(array_key_exists($menu['role'],$power)):?>
                        <li class="<?php if(in_array($_SESSION['v_menu'],$menu['active'])):?>open<?php endif;?>">
                            <a href="#" class="menu-dropdown">
                                <i class="<?php echo $menu['icon']?>"></i>
                                <span class="menu-text"> <?php echo $menu['name']?> </span>
                                <i class="menu-expand"></i>
                            </a>
                            <ul class="submenu">
                            <?php foreach ($menu['child'] as $childkey => $child):?>
                                <li>
                                    <a href = '<?php echo $child['method']?>'>
                                        <span class="menu-text"><?php echo $child['name']?></span>
                                    </a>
                                </li>
                            <?php endforeach;?>
                            </ul>
                        </li>
                    <?php endif;?>
                    <?php endforeach;?>
                </ul>
                <!-- /Sidebar Menu -->
            </div>
